<template>
  <div class="serchBox">
    <div class="search-module" @click="serach()">
      <van-search class="van-search" disabled placeholder="请输入搜索关键词"></van-search>
    </div>
  </div>
</template>

<script type="text/ecmascript-6">
import icc from "../../assets/img/icc.png";
export default {
  data() {
    return {};
  },
  methods: {
    serach() {
      let query = this.$route.query;
      this.$router.push({ path: "search", query: query });
    }
  }
};
</script>

<style scoped lang="less">
.serchBox {
  height: 0.8rem;
  display: flex;
  background: #ffffff;
  align-items: center;
  padding: 0.1rem 0rem;
  box-sizing: border-box;
  .text {
    width: 0.78rem;
    height: 0.44rem;
    margin-right: 0.3rem;
  }
}
.search-module {
  // height: 0.56rem;

  flex: 1;
  display: flex;
  align-items: center;

  .van-search,
  .van-cell {
    flex: 1;
    // padding: 0;
    background: rgba(245, 243, 242, 1);
    font-size: 12px;
    display: flex;
    align-items: center;
  }
}
</style>
